package com.wulis.provider.authority.model.enums;

import lombok.AllArgsConstructor;

/**
 * 菜单类型
 *
 * @author WuliBao
 * @date 2020-05-22
 */
@AllArgsConstructor
public enum MenuTypeEnum {
    
    /**
     * 菜单类型：0菜单 1按钮
     */
    MENU(0, "菜单"), BUTTON(1, "按钮");
    
    private final Integer value;
    
    private final String desc;
    
    public Integer value() {
        return this.value;
    }
    
    public String desc() {
        return this.desc;
    }
    
}
